
import fetch from '../../utils/http/fetch.js'
import consts from '../../utils/http/consts.js'

const ROOT = './cs/org';

export default {
  get(data, suc, err) {
    return fetch(data, suc, err, consts.HttpMethod.GET, `${ROOT}/get`);
  },
  list(data, suc, err) {
    return fetch(data, suc, err, consts.HttpMethod.POST, `${ROOT}/list`);
  }, 
  page(data, suc, err) {
    return fetch(data, suc, err, consts.HttpMethod.POST, `${ROOT}/page`);
  },
}
